<?php $this->load->view('admin/_header2') ?>

<table id="tablec" width=100% height=100% border=0 cellpadding=0 cellspacing=0 >
	<tr height=10% valign=top ><td style="background:#D2E0F2">
	<?
	echo form_open("admin/Order/queryorder",array("id" => "formorder","target" =>"query_context_order"));
	?>
	<table >
		<tr height=32 >
			<td width=120 align=right >Passenger name:</td>
			<td width=200 ><input type="text" name="passname" class="txd" /></td>
			<td width=120 align=right >Book Date:</td>
			<td width=200 ><input type="text" name="BookDate1" value="<?=$bookdate1; ?>" class="txdatec" />
			<input type="text" name="BookDate2" class="txdatec" /></td>
			<td  align=left ><input type="submit" name="bbb" value="Search" />
			</td>
		</tr>
		
		<tr height=32>
			<td width=120 align=right >Order No:</td>
			<td><input type="text" name="orderno" class="txd" /></td>
			<td></td>
			<td></td>
		</tr>
	</table>
	<?
	echo form_close();
	?>
	
	</td></tr>
	
	<tr height=88% valign=top ><td>
		<iframe name=query_context_order width=100% height="100%" frameborder=0 ></iframe>
	</td></tr>
</table>

<div id="addwin" class="easyui-window" title="oper Order" closed="true" iconCls="icon-edit" style="width:680px;height:400px;padding:0px;background: #fafafa;">
	<div class="easyui-layout" fit="true">
		<div id="dvcontext" region="center" border="false" style="padding:10px;background:#fff;border:1px solid #ccc;">
			<iframe width=100% height=100% name="icontext" id="ifracontext" src="" frameborder=0 ></iframe>
		</div>
	</div>
</div>

<script language="javascript">
	document.body.scroll="no";
	
	$(document).ready(function () {		
		$('.txdatec').datepick({monthsToShow:2});
		gd$("formorder").submit();
	});
	
	function operorder(obj)
	{
		$("#ifracontext").attr("src",obj.href);
		$('#addwin').window('open');
		
		return false;
	}

</script>

<?php $this->load->view('admin/_footer1') ?>